package ws.jdbc.concurrent.driver.sqlserver

import java.sql.*

/**
 * Test case of CResultSetForwardOnlyReadOnly class methods.
 * 
 * @author Wilson Santos, 36228 <wilson.santos@ua.pt>
 */
class CResultSetForwardOnlyReadOnlyTest extends ForwardOnlyReadOnlyTest {
  
  /**
   * Run this before every test.
   */
  @Override
  void setUp() {
    super.setUp()

    def stmt = con.createStatement()
    rs = stmt.executeQuery(sqlQuery)

    assertNotNull rs
    assertTrue rs instanceof CResultSetForwardOnlyReadOnly
  }
}